package cn.consult.controller.sys.pay;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ Author：周xx
 * @ Date：2024-04-17-14:08
 * @ Version：1.0
 * @ Description：
 */

@Component
@ConfigurationProperties(prefix = "alipay")
public class AliPayConfig {
    //appId
    private String appId;
    //应用私钥
    private String appPrivateKey;
    //支付宝公钥
    private String alipayPublickey;
    //参数回调地址
    private String notifyUrl;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppPrivateKey() {
        return appPrivateKey;
    }

    public void setAppPrivateKey(String appPrivateKey) {
        this.appPrivateKey = appPrivateKey;
    }

    public String getAlipayPublickey() {
        return alipayPublickey;
    }

    public void setAlipayPublickey(String alipayPublickey) {
        this.alipayPublickey = alipayPublickey;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }
}
